package com.xinsilu.hospital.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ym
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="NoHospitalizationTable对象", description="")
public class NoHospitalizationTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "病人id")
    private Integer patientId;

    @ApiModelProperty(value = "药id")
    private Integer drugId;

    @ApiModelProperty(value = "项目id")
    @TableField("Project_id")
    private Integer projectId;

    @ApiModelProperty(value = "时间")
    private String date;

    @ApiModelProperty(value = "合计")
    private String total;

    @ApiModelProperty(value = "数量")
    private String shuliang;

    @ApiModelProperty(value = "是否检查")
    private String sfjiancha;

    @TableField(exist = false)
    DrugTable drugTable;
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private double cost;
}
